package cn.itcast.dao;

import cn.itcast.domain.Card;
import cn.itcast.domain.Classes;
import cn.itcast.domain.Student;

import java.util.List;

public interface CardDao {
    List<Student> findByCondition(Student student);
    // 根据Email来查询信息
    List<Student> findByEmail2(String... emails);
    //分页查询
    List<Student> findAll();
    //一对一查询
    List<Card> CardAll();
    //一对多查询
    List<Classes> ClassesAll();
    //多对多查询
    List<Student> StudentAll();
}




